﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// ch_xinxi
    /// </summary>
    [Serializable]
    public partial class xinxi
    {
        public xinxi()
        { }
        #region Model
        private int _id;
        private int _category_id = 0;
        private string _title = string.Empty;
        private int _price = 0;
        private string _unit = string.Empty;
        private int _size_long = 0;
        private int _size_wide = 0;
        private int _size_height = 0;
        private string _img_url = string.Empty;
        private string _content = string.Empty;
        private int _user_id = 0;
        private int _company_id = 0;
        private string _lianxiren = string.Empty;
        private string _mobile = string.Empty;
        private DateTime _add_time = DateTime.Now;
        private int _status = 0;
        private int _hits = 0;
        private int _quanzi_id = 0;
        private int _province_id = 0;
        private int _city_id = 0;
        private int _type_id = 0;

        /// <summary>
        /// id
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// category_id
        /// </summary>
        public int category_id
        {
            set { _category_id = value; }
            get { return _category_id; }
        }
        /// <summary>
        /// title
        /// </summary>
        public string title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// price
        /// </summary>
        public int price
        {
            set { _price = value; }
            get { return _price; }
        }
        /// <summary>
        /// unit
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// size_long
        /// </summary>
        public int size_long
        {
            set { _size_long = value; }
            get { return _size_long; }
        }
        /// <summary>
        /// size_wide
        /// </summary>
        public int size_wide
        {
            set { _size_wide = value; }
            get { return _size_wide; }
        }
        /// <summary>
        /// size_height
        /// </summary>
        public int size_height
        {
            set { _size_height = value; }
            get { return _size_height; }
        }
        /// <summary>
        /// img_url
        /// </summary>
        public string img_url
        {
            set { _img_url = value; }
            get { return _img_url; }
        }
        /// <summary>
        /// content
        /// </summary>
        public string content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// user_id
        /// </summary>
        public int user_id
        {
            set { _user_id = value; }
            get { return _user_id; }
        }
        /// <summary>
        /// company_id
        /// </summary>
        public int company_id
        {
            set { _company_id = value; }
            get { return _company_id; }
        }
        /// <summary>
        /// lianxiren
        /// </summary>
        public string lianxiren
        {
            set { _lianxiren = value; }
            get { return _lianxiren; }
        }
        /// <summary>
        /// mobile
        /// </summary>
        public string mobile
        {
            set { _mobile = value; }
            get { return _mobile; }
        }
        /// <summary>
        /// add_time
        /// </summary>
        public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }
        /// <summary>
        /// status
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// hits
        /// </summary>
        public int hits
        {
            set { _hits = value; }
            get { return _hits; }
        }
        /// <summary>
        /// quanzi_id
        /// </summary>
        public int quanzi_id
        {
            set { _quanzi_id = value; }
            get { return _quanzi_id; }
        }
        /// <summary>
        /// province_id
        /// </summary>
        public int province_id
        {
            set { _province_id = value; }
            get { return _province_id; }
        }
        /// <summary>
        /// city_id
        /// </summary>
        public int city_id
        {
            set { _city_id = value; }
            get { return _city_id; }
        }
        public int type_id
        {
            get { return _type_id; }
            set { _type_id = value; }
        }
        /// <summary>
        /// 图片相册
        /// </summary>
        private List<xinxi_albums> _albums;
        public List<xinxi_albums> albums
        {
            set { _albums = value; }
            get { return _albums; }
        }
        #endregion Model
    }
}